Integrand size = 23, antiderivative size = 28 \[ \int \frac {x \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\frac {x^2 \sqrt {a+b x}}{2 \sqrt {-a-b x}} \]
[Out]
Time = 0.00 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {23, 30} \[ \int \frac {x \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\frac {x^2 \sqrt {a+b x}}{2 \sqrt {-a-b x}} \]
[In]
[Out]
Rule 23
Rule 30
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {a+b x} \int x \, dx}{\sqrt {-a-b x}} \\ & = \frac {x^2 \sqrt {a+b x}}{2 \sqrt {-a-b x}} \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.00 \[ \int \frac {x \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\frac {x^2 \sqrt {a+b x}}{2 \sqrt {-a-b x}} \]
[In]
[Out]
Time = 1.74 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.82
method | result | size |
gosper | \(\frac {x^{2} \sqrt {b x +a}}{2 \sqrt {-b x -a}}\) | \(23\) |
default | \(-\frac {\sqrt {-b x -a}\, x^{2}}{2 \sqrt {b x +a}}\) | \(23\) |
risch | \(-\frac {i \sqrt {\frac {-b x -a}{b x +a}}\, \sqrt {b x +a}\, x^{2}}{2 \sqrt {-b x -a}}\) | \(42\) |
[In]
[Out]
none
Time = 0.23 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.54 \[ \int \frac {x \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=-\frac {\sqrt {-b^{2}} x^{2}}{2 \, b} \]
[In]
[Out]
\[ \int \frac {x \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\int \frac {x \sqrt {a + b x}}{\sqrt {- a - b x}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {x \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\text {Exception raised: RuntimeError} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.28 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.75 \[ \int \frac {x \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=-\frac {i \, {\left ({\left (b x + a\right )}^{2} - 2 \, {\left (b x + a\right )} a\right )}}{2 \, b^{2}} \]
[In]
[Out]
Timed out. \[ \int \frac {x \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\int \frac {x\,\sqrt {a+b\,x}}{\sqrt {-a-b\,x}} \,d x \]
[In]
[Out]